package login;

import struts.form.ActionForm;

public class LoginForm extends ActionForm implements Comparable {
	 private  String username;
     private String password;
	 public LoginForm(){
		  
	  }
	 public LoginForm(String username,String password){
		  this.username=username;
		  this.password=password;
		 
	  }

	 public boolean equals(Object o){
		 
		 return false;
	 }

	public String getUsername() {
		return username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	@Override
	public int compareTo(Object o) {
			
			return 0;
	}
	
	public String toString(){
		String  attributeStr="username="+this.username+" || "+"password="+this.password;
			
		return attributeStr;
	}
}
